#pragma once 

#include "iworker.hpp"

namespace tb {

namespace dispatch {

struct IScheduler {
    virtual IWorker *CreateWorker() = 0;

    virtual void DestroyWorker(IWorker *) = 0
};

} // end namespace dispatch

} // end namespace tb

